import request from '@/utils/request'

//查询
export function listHandle(data) {
  return request({
    url: 'carbonNeutrality/list',
    method: 'post',
    data
  })
}

// 嘉园风情详情
export function carbonNeutralityQueryById(data) {
  return request({
    url: 'carbonNeutrality/queryById',
    method: 'post',
    data
  })
}

// 分享 (嘉园风情)
export function forward(data) {
  return request({
    url: 'jiaYuanStyle/forward',
    method: 'post',
    data
  })
}

// 点赞 (嘉园风情)
export function giveThumbs(data) {
  return request({
    url: 'jiaYuanStyle/giveThumbs',
    method: 'post',
    data
  })
}

// 浏览(嘉园风情) 
export function browse(data) {
  return request({
    url: 'jiaYuanStyle/browse',
    method: 'post',
    data
  })
}

// 分享 (双碳文化)
export function forward2(data) {
  return request({
    url: 'carbonNeutrality/forward',
    method: 'post',
    data
  })
}

// 点赞 (双碳文化)
export function giveThumbs2(data) {
  return request({
    url: 'carbonNeutrality/giveThumbs',
    method: 'post',
    data
  })
}

// 浏览(双碳文化) 
export function browse2(data) {
  return request({
    url: 'carbonNeutrality/browse',
    method: 'post',
    data
  })
}

export default { 
	listHandle,
	carbonNeutralityQueryById,
	forward,
	giveThumbs,
	browse,
	forward2,
	giveThumbs2,
	browse2
}
